/*
 * @Description: 应用配置
 * @Author: chenjiaxin
 * @Date: 2024-10-28 14:30:02
 * @LastEditTime: 2024-10-31 11:04:38
 */
const path = require("path");
const { version } = require("../package.json");

module.exports = {
  // 应用信息
  version,
  // 路径相关
  sourceDir: "src",
  distDir: "build",
  staticDir: 'public',
  rootPath: (...args) => path.resolve(__dirname, "..", ...args),
  // 开发
  port: "8080",
  devtool: 'source-map',
  open: true,
  apiEnv: 'dev', // dev | test | prod
};